package com.itfreer.gis.map.style;

import java.io.Serializable;
import java.util.Set;

public class MapStyle implements Serializable {

	private static final long serialVersionUID = 6755866483658829215L;

	/**
	 * id
	 */
	private String id;

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 雪碧图地址
	 */
	private String sprite;

	private String spriteName;

	/**
	 * 其他属性
	 */
	private String propertys;

	/**
	 * 浏览器
	 */
	private String browser;

	/**
	 * 浏览器
	 */
	private String browserName;

	/**
	 * 终端
	 */
	private String terminal;

	/**
	 * 终端
	 */
	private String terminalName;

	/**
	 * 最小内存要求
	 */
	private Integer memory;

	/**
	 * 内核-openlayers, mapbox, leaflet, ceisum
	 */
	private String kernel;

	/**
	 * 外键
	 */
	private String styleId;

	/**
	 * 排序
	 */
	private Integer order;

	/**
	 * 是否有效
	 */
	private Boolean valid = true;

	/**
	 * 指定级别
	 */
	private Integer zoom;

	/**
	 * 中心点
	 */
	private String center;

	/**
	 * 最大级别
	 */
	private Integer maxZoom;

	/**
	 * 最小级别
	 */
	private Integer minZoom;

	/**
	 * 全图范围
	 */
	private String extent;

	/**
	 * 数据源信息
	 */
	private Set<MapStyleSource> sources;

	/**
	 * 图层信息
	 */
	private Set<MapStyleLayer> layers;

	/**
	 * 租户ID
	 */
	private String tenantID;

	/**
	 * 租户名称
	 */
	private String tenantName;

	/**
	 * id
	 */
	public String getId() {
		return id;
	}

	/**
	 * id
	 */
	public void setId(String value) {
		this.id = value;
	}

	public String getSprite() {
		return sprite;
	}

	public void setSprite(String sprite) {
		this.sprite = sprite;
	}

	/**
	 * 其他属性
	 */
	public String getPropertys() {
		return propertys;
	}

	/**
	 * 其他属性
	 */
	public void setPropertys(String value) {
		this.propertys = value;
	}

	public Integer getMemory() {
		return memory;
	}

	public void setMemory(Integer memory) {
		this.memory = memory;
	}

	public String getKernel() {
		return this.kernel;
	}

	public void setKernel(String kernel) {
		this.kernel = kernel;
	}

	public String getStyleId() {
		return styleId;
	}

	public void setStyleId(String styleId) {
		this.styleId = styleId;
	}

	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}

	public Integer getZoom() {
		return zoom;
	}

	public void setZoom(Integer zoom) {
		this.zoom = zoom;
	}

	public String getCenter() {
		return center;
	}

	public void setCenter(String center) {
		this.center = center;
	}

	public Integer getMaxZoom() {
		return maxZoom;
	}

	public void setMaxZoom(Integer maxZoom) {
		this.maxZoom = maxZoom;
	}

	public Integer getMinZoom() {
		return minZoom;
	}

	public void setMinZoom(Integer minZoom) {
		this.minZoom = minZoom;
	}

	public String getExtent() {
		return extent;
	}

	public void setExtent(String extent) {
		this.extent = extent;
	}

	public Set<MapStyleSource> getSources() {
		return sources;
	}

	public void setSources(Set<MapStyleSource> sources) {
		this.sources = sources;
	}

	public Set<MapStyleLayer> getLayers() {
		return layers;
	}

	public void setLayers(Set<MapStyleLayer> layers) {
		this.layers = layers;
	}

	public String getBrowserName() {
		return browserName;
	}

	public void setBrowserName(String browserName) {
		this.browserName = browserName;
	}

	public String getTerminalName() {
		return terminalName;
	}

	public void setTerminalName(String terminalName) {
		this.terminalName = terminalName;
	}

	public String getBrowser() {
		return browser;
	}

	public void setBrowser(String browser) {
		this.browser = browser;
	}

	public String getTerminal() {
		return terminal;
	}

	public void setTerminal(String terminal) {
		this.terminal = terminal;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSpriteName() {
		return spriteName;
	}

	public void setSpriteName(String spriteName) {
		this.spriteName = spriteName;
	}

	/**
	 * 是否有效
	 */
	public Boolean getValid() {
		return valid;
	}

	/**
	 * 是否有效
	 */
	public void setValid(Boolean isValid) {
		this.valid = isValid;
	}

	public String getTenantID() {
		return tenantID;
	}

	public void setTenantID(String tenantID) {
		this.tenantID = tenantID;
	}

	public String getTenantName() {
		return tenantName;
	}

	public void setTenantName(String tenantName) {
		this.tenantName = tenantName;
	}

}
